package com.liwei.lwmail.order.feign;

import com.liwei.lwmail.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@FeignClient("lwmall-cart")
public interface CartFeignService {

    @ResponseBody
    @GetMapping("/userCartItems")
    List<OrderItemVo> getUserCartItems();

}
